package geometria;


public class Punto2D {  
   private float y;    
    private float x;
   


    public Punto2D() {
      
    }
    public void moverPuntos(float a, float b ) {
        
        x = x+ a;
        y = y+b;
    }
    
    public void moverX(float offsetX) {
            x +=offsetX;
          
        }
        public void movery(float offsetY) {
           
            y+=offsetY;
        }
        public void setX(float x) {
            this.x = x;
        }

        public float getX() {
            return x;
        }

       
        public float getY() {
            return y;
        }
    public void setY(float y) {
        this.y = y;
    }

    
}
